home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HyperLib 1997 Winter - Disc 1
/
HYPERLIB-1997-Winter-CD1.ISO.7z
/
HYPERLIB-1997-Winter-CD1.ISO
/
オンラインウェア
/
UTIL
/
Acme Filters 2.3.2 folder.sit
/
Acme Filters 2.3.2 folder
/
Acme Filters 2.3.2
/
Acme Filters オ
/
Headers
/
Touch.h
< prev
next >
Wrap
Text File
|
1996-02-03
|
917b
|
32 lines
#ifndef TOUCH_H_
#define TOUCH_H_
/************ D E F I N E D C O N S T A N T S & M A C R O S ******************************/
#define kDateTimeDlog 131
#define kCreated 3
#define kModified 4
#define kLeadingZero "¥p0"
#define kSlash "¥p/"
#define kColon "¥p:"
#define kTwoSpaces "¥p "
#define kMaxDateTime 20
#define kDateTimeFormat "%d/%d/%d %d:%d:%d"
/************ F U N C T I O N P R O T O T Y P E S *******************************************/
void Touch( FSSpec *iFile, unsigned long created, unsigned long modified );
OSErr PickDateTime( FSSpec *iFile, unsigned long *created, unsigned long *modified );
pascal Boolean PickDateTimeDlgFltr( DialogPtr dialog, EventRecord *event, short *item );
Boolean DateTimeOK( DialogPtr dialog, short item );
void DateToString( unsigned long secs, Str255 str );
short DaysInMonth( DateTimeRec dtRec );
Boolean LeapYear( DateTimeRec dtRec );
#endif